home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global nVolum
- if rollOver(10) then
- set the member of sprite 10 to member "Fd_Bt_A/1" of castLib "elementos graficos"
- puppetSprite(10, 0)
- updateStage()
- if nVolum > 0 then
- set nVolum to nVolum - 1
- set the soundLevel to nVolum
- else
- beep()
- end if
- end if
- end
-
- on rightMouseUp
- global nVolum
- if rollOver(10) then
- set the member of sprite 10 to member "Fd_Bt_A/1" of castLib "elementos graficos"
- puppetSprite(10, 0)
- updateStage()
- if nVolum < 7 then
- set nVolum to nVolum + 1
- set the soundLevel to nVolum
- else
- beep()
- end if
- end if
- end
-
- on mouseDown
- repeat while the stillDown
- puppetSprite(10, 1)
- if rollOver(10) then
- set the member of sprite 10 to member "Fd_Bt_B/1" of castLib "elementos graficos"
- else
- set the member of sprite 10 to member "Fd_Bt_A/1" of castLib "elementos graficos"
- end if
- updateStage()
- end repeat
- end
-
- on rightMouseDown
- repeat while the stillDown
- puppetSprite(10, 1)
- if rollOver(10) then
- set the member of sprite 10 to member "Fd_Bt_B/1" of castLib "elementos graficos"
- else
- set the member of sprite 10 to member "Fd_Bt_A/1" of castLib "elementos graficos"
- end if
- updateStage()
- end repeat
- end
-